package com.fz.service.system;

import com.fz.common.ResponseEntity;
import com.fz.dto.system.role.RoleAdd;
import com.fz.dto.system.role.RoleMenuDto;
import com.fz.dto.system.role.RoleQuery;
import com.fz.dto.system.role.RoleUpd;

public interface RoleService {
     ResponseEntity findRoleList(int pageNum, int pageSize,RoleQuery roleQuery) throws Exception;

     ResponseEntity findMenuById(int roleId) throws Exception;

     ResponseEntity findRoleSelect(RoleQuery roleQuery) throws Exception;

     ResponseEntity addRole(RoleAdd roleAdd) throws Exception;

     ResponseEntity updateRole(RoleUpd roleUpd) throws Exception;

     ResponseEntity saveRoleMenu(RoleMenuDto roleMenuDto) throws Exception;
}
